home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc / OpenDoc Development / Debugging Support / OpenDoc Source Code / Utilities / Interfaces / TransUtl.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-22  |  1.2 KB  |  47 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        TransUtl.h
  3.  
  4.     Contains:    Translation utilities.
  5.  
  6.     Owned by:    Caia Grisar
  7.  
  8.     Copyright:    © 1993 - 1995 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     To Do:
  11. */
  12.  
  13.  
  14. #ifndef _TRANSUTL_
  15. #define _TRANSUTL_
  16.  
  17. //==============================================================================
  18. // Classes used by this interface
  19. //==============================================================================
  20. class    ODTypeList;
  21. class    ODSession;
  22. class    OrderedCollection;
  23.  
  24. #ifdef _OD_IMPL_SHARE_UTILS_
  25. #pragma import on
  26. #endif
  27.  
  28. extern "C" {
  29.  
  30. // GetGetDestinationKindsList is used to get a list of possible kinds to translate
  31. // to (translateToList) given a list of kinds (kindList).  The translateFromList 
  32. // paramenter contains a list of indexes that correspond to each entry in the 
  33. // translateToList which indicates which index in the kindList it came from.  The 
  34. // argument to translateFromList may be null in which case it is ignored.
  35. void GetDestinationKindsList(
  36.                 ODTypeList*    kindList,
  37.                 ODTypeList*    translateToList,
  38.                 OrderedCollection* translateFromList,
  39.                 ODSession* session);
  40.  
  41. }    // End of extern "C" {
  42.  
  43. #ifdef _OD_IMPL_SHARE_UTILS_
  44. #pragma import off
  45. #endif
  46.  
  47. #endif /* _TRANSUTL_ */